package com.example.mytestdemo.extensions

import io.reactivex.disposables.Disposable

/**
 * Created by chow on 2020/9/17
 */

fun Disposable.safeDispose() {
    if (!isDisposed) {
        dispose()
    }
}